package com.ynny.mapper;

import com.ynny.bean.Student;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface StudentMapper {
//根据账号更新密码
    int updatePassword(Map map);
    int updatePassword(@Param("number") String number,@Param("password") String password);

    List<Student>selectAllByIdentity(String identity);

    int deleteByNumber(String number);



}
